#if !defined(AFX_USERSTABVIEW_H__EC6BDCA5_0A45_11D4_9EF2_00201857C47B__INCLUDED_)
#define AFX_USERSTABVIEW_H__EC6BDCA5_0A45_11D4_9EF2_00201857C47B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UsersTabView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CUsersTabView view

class CUsersTabView : public CTreeView
{
protected:
	CUsersTabView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CUsersTabView)

// Attributes
protected:
	CTreeCtrl*	m_pTreeCtrl;
	CImageList	m_ImageList;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUsersTabView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CUsersTabView();
	void AddUsuario(CUsuario *pUsuario);
	HTREEITEM BuscaItem(HTREEITEM htiPadre, DWORD dwData);
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CUsersTabView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_USERSTABVIEW_H__EC6BDCA5_0A45_11D4_9EF2_00201857C47B__INCLUDED_)
